package cn.edu.sbs.talent.shiro.service;

import cn.edu.sbs.talent.common.service.IBaseService;
import cn.edu.sbs.talent.shiro.entity.Role;

import java.util.List;
import java.util.Set;

/**
 * IRoleService
 *
 * @author ctidy
 * @since 2021/1/7
 */
public interface IRoleService extends IBaseService<Role> {

    List<Role> listByAccount(long id);

    List<Role> listByAccount(String username);

    Set<String> listNameByAccount(long id);

    Set<String> listNameByAccount(String username);

}
